package com.homework.dao.mapper;

import com.homework.dao.domain.Order;

import java.util.List;

public interface OrderMapper {
    public List<Order> selectExpireOrders();
    public Order getOrder(int id);

    public int addOrder(Order order);

    public boolean payOrder(int id);

    public boolean setUnpayOrder(int id);
}
